package com.demo.modules.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotEmpty;

/**
 * 登录参数
 * 
 * @author molong
 * @since 2024/6/7
 */
@Data
@ApiModel(description = "登录参数")
public class UserLoginParamDto {
    @ApiModelProperty(value = "账号",required = true)
    @NotEmpty(message = "账号不能为空")
    private String username;

    @ApiModelProperty(value = "密码",required = true)
    @NotEmpty(message = "密码不能为空")
    private String password;

    @ApiModelProperty(value = "密码加密公钥",required = true)
    @NotEmpty(message = "密码加密公钥不能为空")
    private String encryption;
}
